package com.youen.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by Dell on 2018/9/6.
 */
@Data
@Entity
@Table(name = "user")
public class User extends BaseEntity{

    @Id
    @Column
    private String id;

    @Column
    private String name;

    @Column
    private String age;

    @Column
    private String mobile;
}
